package com.team.bus.module.common.pagemodel;

import java.util.List;

/**
 * session信息模型
 * 
 * @author 赵继
 * 
 */
public class SessionInfo implements java.io.Serializable {

	private static final long serialVersionUID = 2862626324541934436L;
	private String id;					// 用户ID
	private String username;			// 用户登录名
	private String ip;					// 用户IP
	private String name;				//真实姓名
	private String oid;					//组织机构id
	private String organzationflag;		//判断用户属于哪个单位
	private List<String> resourceList;	// 用户可以访问的资源地址列表
	
	
	
	public String getOid() {
		return oid;
	}

	public void setOid(String oid) {
		this.oid = oid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<String> getResourceList() {
		return resourceList;
	}

	public void setResourceList(List<String> resourceList) {
		this.resourceList = resourceList;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return this.username;
	}

	public String getOrganzationflag() {
		return organzationflag;
	}

	public void setOrganzationflag(String organzationflag) {
		this.organzationflag = organzationflag;
	}

}
